
package com.oldphonedeals.service;

import com.oldphonedeals.pojo.User;
import com.oldphonedeals.dto.UserUpdateDTO;

public interface UserService {
    User register(User user);
    String login(User user);
    User getCurrentUser(String email);
    User updateUser(String email, UserUpdateDTO dto); // 新增方法
}
